import request from '@/utils/request'

export function create(data) {
  return request({
    url: '/autotest/product/create',
    method: 'post',
    data
  })
}

export function searchAll(pageNo, pageSize) {
  return request({
    url: '/autotest/product/searchAll',
    method: 'get',
    params: { pageNo, pageSize }
  })
}

export function deleteP(id) {
  return request({
    url: '/autotest/product/delete',
    method: 'get',
    params: { id }
  })
}
